package service;

import java.util.List;

import entity.Message;

public interface MessageService {
	List<Message> getMessageByReceiveUname(String uname);
	Message getMessageByMid(int mid);
	int deleteMessageById(String id);
	void sendMessage(Message m);
	boolean updateMessage(int mid);
}
